package com.mspbots.script.model;

import com.fasterxml.jackson.databind.JsonNode;
import com.mspbots.script.event.ScriptLanguageEnum;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class SystemScript implements Serializable {

    private Long id;
    private String name;
    private String context;
    private String scope;
    private String triggerEvent;
    private LocalDateTime createTime;
    private Boolean enable;
    private ScriptLanguageEnum language;
    private Long botId;
    private JsonNode paramsValue;
    private String paramsJson;
    private String version;
    private Boolean applyTenant;
    private String auth;
    private LocalDateTime updateTime;
    private String description;

}
